﻿// PortableMediator
// (c) Lance Wynn - http://PortableMediator.codeplex.com/
// License: MIT (http://www.opensource.org/licenses/mit-license.php)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PortableMediator
{
    public interface IWeakAction
    {
        Task Invoke(object param);
        Task Invoke(object param, object callback);
        void Kill();
        bool IsAlive();
        Task<Type> GetTargetType();
        Task<Type> GetParamType();
    }
}
